package com.mytomcat.catalina.lifecycle;
/**
 * 生命周期基础类
 *
 * @author supu
 * @date 2019-04-19 11:28
 **/
public abstract class LifeCycleBase implements LifeCycle {
    protected abstract void startInternal();

    protected abstract void stopInternal();

    protected abstract void destroyInternal();

    @Override
    public void start() {
        startInternal();
    }

    @Override
    public void stop() {
        stopInternal();
    }

    @Override
    public void destroy() {
        destroyInternal();
    }
}
